home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / WAssert / DLLClient / MkClientOs
Text File  |  1995-09-04  |  1KB  |  65 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.WAssert    \
  4.  
  5.  
  6. LibName        =    WAssert
  7.  
  8.  
  9.  
  10. # Template makefile to make all .o files
  11. # for a DeskLib sublibrary. Compilation 
  12. # is for static linking with client
  13. # applications (ie not cc -zM but
  14. # _DeskLib_SDLS_CLIENT is predefined).
  15.  
  16. # The macro $(ObjectFiles) should be set at the 
  17. # start of this file, to be a space-separated
  18. # list of object files.
  19. # This is done by 'Makatic'.
  20.  
  21. # The macro $(LibName) should also be set at the 
  22. # start of this file, to be the name of the 
  23. # DeskLib sublibrary.
  24.  
  25. # Compiler flags, These can be anything. 
  26. # All essential flags (eg CC -zM
  27. # are included in the macro $(CC).
  28. #
  29. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_SDLS_CLIENT -D_DeskLib_$(LibName) -I,C:
  30. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  31.  
  32. CC        =    cc -c $(CCFlags)
  33. ASM        =    ObjAsm $(ASMFlags)
  34.  
  35.  
  36. # -------------------------------------------------------
  37. # Everything below here should probably not be changed...
  38. # -------------------------------------------------------
  39.  
  40. # Here's what we want to make...
  41. #
  42. All:    $(ObjectFiles)
  43.  
  44.  
  45. VPATH = @.^
  46.  
  47. .SUFFIXES:    .o .c .s
  48.  
  49. .c.o:
  50.     $(CC) -o $@ $<
  51.  
  52. .s.o:
  53.     $(ASM) $(ASMFlags) -from $< -to $@
  54.  
  55.  
  56.  
  57. # Dynamic dependencies:
  58. o.WAssert:    ^.c.WAssert
  59. o.WAssert:    DeskLib:h.Event
  60. o.WAssert:    DeskLib:h.Core
  61. o.WAssert:    DeskLib:h.Wimp
  62. o.WAssert:    DeskLib:h.WimpSWIs
  63. o.WAssert:    DeskLib:h.WAssert
  64.